package cn.lhn.ridersclub.service;

import cn.lhn.ridersclub.dto.ClubDto;
import cn.lhn.ridersclub.dto.ClubItemDto;
import cn.lhn.ridersclub.entity.Club;

import java.util.List;

public interface ClubService {

    ClubDto getClub(Long id);

    List<ClubDto> getClub(String clubName);

    List<ClubDto> getByClassify(String classify);

    List<ClubDto> getClubs();

    void addWant(Long clubId, Long accountId);

    void deleteWant(Long clubId, Long accountId);

    Boolean isWant(Long clubId, Long accountId);

    void postGrade(Long clubId, Long accountId, Long grade);

    Boolean isPostGrade(Long clubId, Long accountId);

    List<Long> list3FansId(Long clubId);

    List<Long> listBannerClubId();

    List<ClubItemDto> listClubByClassify(String classify);
}
